package com.hutu.model.entity.core;

import lombok.Data;

import java.util.ArrayList;
import java.util.List;

@Data
public class TableInfo {
    private String tableName;
    private String tableComment;
    private List<ColumnInfo> columns;

    private String pid; //表所属项目


    public TableInfo(String tableName, String tableComment, List<ColumnInfo> columns) {
        this.tableName = tableName;
        this.tableComment = tableComment;
        this.columns = columns;
    }

    public TableInfo() {
        columns = new ArrayList<>();
    }


}
